﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manage/Main.Master" AutoEventWireup="true" CodeBehind="InformManage.aspx.cs" Inherits="AUV5.Web.Manage.InformManage" %>

<%@ Import Namespace="AUV5.Model" %>
<%@ Import Namespace="AUV5.BLL" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h3>
        用户举报
    </h3>
     <table cellpadding="0" cellspacing="0">
        <tr>
            <td>
                举报人
            </td>
            <td>
                原因
            </td>
            <td>
                创建时间
            </td>
            <td align="center">
                管理
            </td>
        </tr>
        <asp:Repeater ID="repInform" runat="server" 
             onitemdatabound="repInform_ItemDataBound">
            <ItemTemplate>
                <tr>
                    <td>
                        <%#UserInfoBLL.Instance.GetUserName((Container.DataItem as InformList).FromUser)%>
                    </td>
                    <td>
                       <%#(Container.DataItem as InformList).InformReason %>
                    </td>
                    <td>
                        <span><%#(Container.DataItem as InformList).CreateDate.ToString("MM/dd HH:mm")%></span>  
                    </td>
                    <td class="action">
                        <asp:HiddenField ID="hfListID" runat="server" Value="<%#(Container.DataItem as InformList).ListID %>" />
                        <a href="" id="refInfo" runat="server" target="_blank" class="view"></a>
                        <asp:LinkButton ID="lbtnHandle" class="edit" runat="server"></asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
        <tr>
            <td colspan="5">
                <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="首页" LastPageText="尾页"
                    NextPageText="后页" PagingButtonLayoutType="Span" PrevPageText="前页" SubmitButtonText="Go"
                    TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" OnPageChanged="AspNetPager1_PageChanged">
                </webdiyer:AspNetPager>
            </td>
        </tr>
    </table>
    <br />
</asp:Content>
